include_rules = [
    # Don't depend on platform/.
    "-third_party/blink/renderer/platform",

    # Module.
    "+third_party/blink/renderer/platform/testing",

    # Dependencies.
    "+base/at_exit.h",
    "+base/command_line.h",
    "+base/i18n/icu_util.h",
    "+base/path_service.h",
    "+base/process",
    "+base/run_loop.h",
    "+base/metrics/statistics_recorder.h",
    "+base/strings/string_number_conversions.h",
    "+base/task/single_thread_task_executor.h",
    "+base/task/thread_pool/thread_pool_instance.h",
    "+base/test/test_io_thread.h",
    "+cc",
    "+mojo/core/embedder",
    "+services/network/public",
    "+testing",

    "+third_party/blink/renderer/platform/context_lifecycle_notifier.h",
    "+third_party/blink/renderer/platform/context_lifecycle_observer.h",
    "+third_party/blink/renderer/platform/exported",
    "+third_party/blink/renderer/platform/font_family_names.h",
    "+third_party/blink/renderer/platform/fonts",
    "+third_party/blink/renderer/platform/geometry",
    "+third_party/blink/renderer/platform/graphics",
    "+third_party/blink/renderer/platform/heap",
    "+third_party/blink/renderer/platform/heap_observer_set.h",
    "+third_party/blink/renderer/platform/image-decoders/image_decoder.h",
    "+third_party/blink/renderer/platform/instrumentation",
    "+third_party/blink/renderer/platform/instrumentation/histogram.h",
    "+third_party/blink/renderer/platform/language.h",
    "+third_party/blink/renderer/platform/loader",
    "+third_party/blink/renderer/platform/mojo/mojo_binding_context.h",
    "+third_party/blink/renderer/platform/network",
    "+third_party/blink/renderer/platform/peerconnection",
    "+third_party/blink/renderer/platform/platform_export.h",
    "+third_party/blink/renderer/platform/runtime_enabled_features.h",
    "+third_party/blink/renderer/platform/scheduler",
    "+third_party/blink/renderer/platform/scroll",
    "+third_party/blink/renderer/platform/text",
    "+third_party/blink/renderer/platform/timer.h",
    "+third_party/blink/renderer/platform/waitable_event.h",
    "+third_party/blink/renderer/platform/weborigin",
    "+third_party/blink/renderer/platform/wtf",
    "+third_party/blink/renderer/platform/wtf/shared_buffer.h",
]

specific_include_rules = {
    "blink_fuzzer_test_support\.cc": [
        "+content/public/test/blink_test_environment.h",
    ],
    "empty_web_media_player\.cc": [
        "+media/base/video_frame.h",
    ],
    "testing_platform_support\.cc": [
        "+gin/public/v8_platform.h",
    ],
    "testing_platform_support_with_mock_scheduler\.cc": [
        "+base/task/sequence_manager/test/sequence_manager_for_test.h",
    ],
    "video_frame_utils\.cc": [
        "+media/video/fake_gpu_memory_buffer.h",
        "+media/base/format_utils.h",
    ],
    "video_frame_utils\.h": [
        "+media/base/video_frame.h",
    ],
}
